GET
/
customers
/
{id}
/
punch-cards
cURL
curl --request GET \
  --url https://app.masivo.ai/api/storefront/v1/customers/{id}/punch-cards \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "customer_id": "<string>",
      "campaign_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "punches": 3,
      "max_punches": 10,
      "status": "ACTIVE",
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

The customer unique identifier in your system

Query Parameters

punch_card_id
string

Optional punch card ID to filter results

Response

200
application/json

Ok

The response is of type object.